package cn.sirun.com.fca.map.view;

import com.tencent.cloud.iov.action.Action;
import com.tencent.cloud.iov.kernel.model.BaseResponse;

import cn.sirun.com.fca.map.constant.MapActionConst;
import cn.sirun.com.fca.map.model.repose.MapCarLocation;
import cn.sirun.com.fca.map.model.repose.MapCollectedResponse;
import cn.sirun.com.fca.map.model.repose.MapHomeCompanyResponse;

/**
 * Descrip:
 * Author: Administrator
 * Time: 2018/12/2
 * Version:
 */

public interface IMapCollectedView extends MapActionConst.Normal {

    @Action(ACTION_MAP_COLLECTED_RESPONSE)
    void getMapCollected(BaseResponse<MapCollectedResponse> response);

    @Action(ACTION_MAP_ADD_COLLECTED_RESPONSE)
    void addMapCollected(BaseResponse<BaseResponse> response);

    @Action(ACTION_MAP_DELETE_COLLECTED_RESPONSE)
    void deleteMapCollected(BaseResponse<BaseResponse> response);

    @Action(ACTION_MAP_HOME_COMPANY_RESPONSE)
    void mapHomeCompany(BaseResponse<MapHomeCompanyResponse> response);

    @Action(ACTION_MAP_SEND_CAR_RESPONSE)
    void mapSendToCar(BaseResponse<MapHomeCompanyResponse> response);

    @Action(ACTION_MAP_GET_CAR_RESPONSE)
    void getLastLocation(BaseResponse<MapCarLocation> response);

    @Action(ACTION_MAP_UPDATE_CAR_RESPONSE)
    void updateLocation(BaseResponse<MapCarLocation> response);
}
